package cn.iocoder.yudao.module.wms.controller.admin.stock.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import javax.validation.constraints.NotNull;
import java.util.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 库存汇总新增/修改 Request VO")
@Data
public class StockSaveReqVO {

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15098")
    private Long id;

    @Schema(description = "产品", requiredMode = Schema.RequiredMode.REQUIRED, example = "4544")
    @NotNull(message = "产品不能为空")
    private Long productId;

    @Schema(description = "结余库存", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal stockQty;

}